<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<?php include 'admin/include.php' ?>

<body>
<iframe style="background:#666;display:none;position:absolute;z-index:100;width:99.7%;height:1220px;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:0.5;" class="fade" id="fade"></iframe>
<div class="welcome">
    <ul class="welcometextAdmin">Welcome, <?php echo Yii::app()->session['_logged_email']; ?>  !</ul>
    <ul class="logouttext">
        <li><a name="logout" href="<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=auth/logout">Logout</a></li>
    </ul>
</div>

<div id="container">
    <?php include_once 'admin/title.php';?>

    <div id="bottomLayout"></div>
    <div id="content">
        <div id="main">
            <div class="adminpage">
                <div class="line">&nbsp;</div>
                <div class="line">
                    <div class="unit sizep1">&nbsp;</div>
                    <div class="unit sizep99 lastUnit">
                        <?php include 'admin/menu.php' ?>
                        <div class="unit size3of4 lastUnit style_rightbody">
                            <?php echo $content; ?>
                        </div>
                    </div>
                </div>
            </div>
            <div class="foot"></div>
        </div>
        <div class="clearDiv"></div>
    </div>
</div>

<?php include_once 'admin/footer.php';?>
</body>
</html>